package com.example.reviewdemo.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

public class Article implements Serializable {

    private Integer id;

    @SerializedName("title")
    private String title;

    @SerializedName("superChapterName")
    private String superChapterName;

    @SerializedName("link")
    private String link;

    @SerializedName("publishTime")
    private String publishTime;

    @SerializedName("chapterName")
    private String chapterName;

    @SerializedName("author")
    private String author;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSuperChapterName() {
        return superChapterName;
    }

    public void setSuperChapterName(String superChapterName) {
        this.superChapterName = superChapterName;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", superChapterName='" + superChapterName + '\'' +
                ", link='" + link + '\'' +
                ", publishTime='" + publishTime + '\'' +
                ", chapterName='" + chapterName + '\'' +
                ", author='" + author + '\'' +
                '}';
    }
}
